import 'package:flutter/material.dart';
import 'package:get/get.dart';

class TradeController extends GetxController with GetSingleTickerProviderStateMixin {
  /// 成员变量
  // tab 页标题
  late final List<String> tabTitles;
  late final TabController tabController;

  @override
  void onInit() {
    super.onInit();
    // 准备一些静态数据
    tabTitles = ['官转'.tr, '推荐'.tr, '设计大赛'.tr];
    tabController = TabController(initialIndex: 0, length: tabTitles.length, vsync: this);
  }
}
